<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>生命周期函数</title>
</head>
<body>
<div id="app">
    {{yy}}

</div>

<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let app = new Vue({
        el: "#app",
        data: {
            yy: "刘德华"
        },
        created() {
            this.yy = "张学友"
        },


    })


</script>
</body>
</html>